package com.health.income.server.service.impl;

import com.health.common.domain.Department;
import com.health.income.server.mapper.DepartmentMapper;
import com.health.income.server.service.DepartmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName DepartmentServiceImpl
 * @Description 描述
 * @Author Qiu Feng
 * @Date 2025/2/26 9:24
 */
@Service
public class DepartmentServiceImpl implements DepartmentService {
    @Autowired
    private DepartmentMapper departmentMapper;
    @Override
    public List<Department> getDepartment() {
        return departmentMapper.getDepartment();
    }
}
